//
//  CinemaCell.m
//  项目1 CLCMovie
//
//  Created by huiwenjiaoyu on 15/7/22.
//  Copyright (c) 2015年 CLC. All rights reserved.
//

#import "CinemaCell.h"
#define kWidth  [UIScreen mainScreen].bounds.size.width
#define kHieght [UIScreen mainScreen].bounds.size.height

@implementation CinemaCell

- (void)awakeFromNib
{
    UIView* bgV = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kWidth, 90)];
    UIImageView* bgImageV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kWidth, 90)];
    [bgImageV setImage:[UIImage imageNamed:@"tab_bg_all"]];
    [bgV addSubview:bgImageV];
    [self setBackgroundView:bgImageV];
    
    
//    self setBackgroundView:
}

- (void)layoutSubviews{
    _nameLabel.text = _cinemaModal.name;
    _distanceLabel.text = _cinemaModal.distance;
    _addressLabel.text = _cinemaModal.address;
    _markLabel.text = _cinemaModal.grade;
    _priceLabel.text = _cinemaModal.lowPrice;
    
    
}
@end
